xround(number,decimalplaces [, justify n spaces, spChar])
-- part contents for background part 21
----- text -----
A function to round real numbers. Unlike, hypercard's built it function, you do not have to round it up to an integer; instead you can just round it to however many places after the decimal point you want. Like the Spaces XFCN, the option is built in to add spaces in front of the number to align columns; Also like Spaces, you can specify the character to use as the space character.
-- part contents for background part 23
----- text -----
put xround(99.878,2,10,".") into msg -->.....99.88